package ModelLayer;

public class OrderDiscount {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_order_discount;
    private int id_order;
    private int id_discount;
    private String name;
    private float value;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public OrderDiscount() {
    }

    public OrderDiscount(int id_order_discount, int id_order, int id_discount, String name, float value) {
        this.id_order_discount  = id_order_discount;
        this.id_order           = id_order;
        this.id_discount        = id_discount;
        this.name               = name;
        this.value              = value;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDOrderDiscount(int id_order_discount) {
        this.id_order_discount = id_order_discount;
    }
    public int getIDOrderDiscount() {
        return this.id_order_discount;
    }

    //Set & Get: ID_Order
    public void setIDOrder(int id_order) {
        this.id_order = id_order;
    }
    public int getIDOrder() {
        return this.id_order;
    }

    //Set & Get: ID_Discount
    public void setIDDiscount(int id_discount) {
        this.id_discount = id_discount;
    }
    public int getIDDiscount() {
        return this.id_discount;
    }

    //Set & Get: Name
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return this.name;
    }

    //Set & Get: Value
    public void setValue(float value) {
        this.value = value;
    }
    public float getValue() {
        return this.value;
    }
    // </editor-fold>
}
